package com.sc.mapper;

import com.github.pagehelper.Page;
import com.sc.domain.Hire;
import com.sc.dto.HireDTO;
import com.sc.vo.HireVO;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface HireMapper {

    boolean add(Hire hire);

    Page<HireVO> pageQuery(HireDTO hireDTO);

    Hire selectById(Integer id);

    boolean update(Hire hire);

    boolean deleteById(Integer id);

    boolean deleteByIds(List<Integer> ids);
}
